import type { Address } from '@/models/address'
import type { CommonResult } from '@/models/request'
import request from '@/utils/request'

export function fetchList() {
  return request<CommonResult<Address[]>>({
    url: '/companyAddress/list',
    method: 'get',
  })
}
